import { createRoot } from 'react-dom/client'
// 导入provider
import { RouterProvider } from 'react-router-dom'
import './router/'
import { router } from './router/'

//测试接口
// import { fetchChannelAPI } from '@/apis/list.ts'
// fetchChannelAPI().then((res) => {
//   console.log(res.data)
// })

createRoot(document.getElementById('root')!).render(<RouterProvider router={router}></RouterProvider>)
